package org.charmsoft.validation;

/**
 * @ Author: Allen J L Chen
 * This enum is to
 * 26/3/2025
 **/
public enum ExcelTemplateFormat {

    POJO_HEAD_LINE("POJO Name"),
    FIELDS_HEAD_LINE("Field Name"),
    FIELD_DATATYPE_HEAD_LINE("Field Type"),
    SQL_DATATYPE_HEAD_LINE("SQL Data Type"),
    POJO_NAME_FORMAT("^([A-Z][a-z]+)+$"),
    FIELD_NAME_FORMAT("^[a-z]+([A-Z][a-z]*)*$"),
    FIELD_TYPE_NAME_FORMAT("^[a-zA-Z0-9_$]*$"),
    SQL_DATA_TYPE_FORMAT("^[a-zA-Z0-9_()$]*$");

    private String value;

    ExcelTemplateFormat(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}